package com.red.usespringboot;

import com.red.test.TestService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
//@Import(TestService.class)
public class AppConfig {

    @Bean
    public TestService testService(){
        return new TestService();
    }


}
